package interview.thread;

/**
 * @Author: cctv
 * @Date: 2019/5/16 17:59
 */
public class MyRunnable implements Runnable {
    private String name;

    public MyRunnable(String name) {
        this.name = name;
    }

    @Override
    public void run() {
        for (int i = 0; i < 10; i++) {
            System.out.println("Thread start:" + this.name + ",i=" + i);
        }

    }
}
